<%@page import="javax.print.DocFlavor.STRING"%>
<%@page import="java.util.HashMap"%>
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@include file="../../common/prama.jsp" %>
<%
	HashMap<String, Object> model = (HashMap<String, Object>)request.getAttribute("model");
%>
<script type='text/javascript' src='${burl }/js/common/jquery/jquery-1.8.2.min.js'></script>
<script type="text/javascript" src="http://api.map.baidu.com/api?v=1.3"></script>
<link rel="stylesheet" href="${burl }/css/manager/markedPoi.css" />
<script src="${burl }/js/common/common.js"></script>
<script type="text/javascript" src="${burl }/js/business/manager/markedPoi.js"></script>
<div class="markDiv">
	<input type="hidden" id="modelId" value="${model.ID }" />
	<table class="base_information">
		<tr>
			<td class="title">信息点描述：</td>
			<td class="content">${model.POINAME }</td>
			<td class="title">信息类型：</td>
			<td class="content">${model.CODENAME }</td>
			<td class="title">电话号码：</td>
			<td class="content">${model.TEL }</td>
		</tr>
		<tr>
			<td class="title">地址：</td>
			<td class="content">${model.ADDR }</td>
			<td class="title">派出所：</td>
			<td class="content">${model.PCSNAME }</td>
			<td class="title">警区：</td>
			<td class="content">${model.JQNAME }</td>
		</tr>
		<tr>
			<td class="title">坐标：</td>
			<td class="content" id="located_map">${model.MAPX },${model.MAPY }</td>
			<td class="title">选取位置坐标：</td>
			<td class="content" colspan="3">
				<input type="text" id="mapxy" />
				<span style="display: none;" id="addr_span"></span>
				<button id="saveBtn">保存</button>
				<button id="searchPoiBtn">选取</button>
			</td>
		</tr>
	</table>
	<table class="mark_map">
		<tr>
			<td>
				<div id="markMap" style="width: 100%; height: 100%;"></div>
			</td>
		</tr>
	</table>
</div>